package com.evildog.workspace.file.model;

import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * Doc request body
 * </p>
 *
 * @author evildog
 * @since 2020-07-19
 */
@Data
@Accessors(chain = true)
@ApiModel(value="Doc查询参数/request body")
public class DocParam implements Serializable {


    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键")
    private Long id;
    private Long bucketId;
    @ApiModelProperty(value = "文件名")
    private String name;
    @ApiModelProperty(value = "大小")
    private Long size;
    @ApiModelProperty(value = "后缀")
    private String suffix;
    @ApiModelProperty(value = "存储类型 0 本地 1 阿里云 2 七牛")
    private Integer storageType;
    @ApiModelProperty(value = "相对路径")
    private String relativeUrl;
    @ApiModelProperty(value = "绝对路径（带域名）")
    private String absoluteUrl;
    @ApiModelProperty(value = "状态 0 正常 1 垃圾箱")
    private Integer status;
    @ApiModelProperty(value = "创建人id")
    private Long createUserId;
    @ApiModelProperty(value = "更新人id")
    private Long updateUserId;
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
